﻿using System;
using System.ServiceModel;
using System.Windows.Forms;

namespace Rigsby.EventBasedWcfAsyncOperation
{
	static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);

			ServiceHost host = new ServiceHost(typeof(MyService));
			host.Open();

			Application.Run(new Form1());
			host.Close();
		}
	}
}
